package classifier;

public class LabeledData<D> 
{
	public LabeledData(D data, int label)
	{
		setData(data);
		setLabel(label);
	}
	
	public void setData(D data)
	{
		this.data = data;
	}
	public void setLabel(int label)
	{
		this.label = label;
	}
	
	public D getData()
	{
		return data;
	}
	public int getLabel()
	{
		return label;
	}	
	
	private D data;
	private int label;
}
